package cn.gcyl.module.biz.controller.admin.memberorder.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 会员订单管理新增/修改 Request VO")
@Data
public class MemberOrderSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "10947")
    private Long id;

    @Schema(description = "会员名称", example = "芋艿")
    private String membershipName;

    @Schema(description = "支付金额")
    private BigDecimal paymentAmount;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "数量不能为空")
    private Integer number;

    @Schema(description = "有效期")
    private String effectiveTime;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "22843")
    private Long userId;

    @Schema(description = "用户昵称", example = "芋艿")
    private String nickname;

    @Schema(description = "用户手机号")
    private String mobile;

    /**
     * 参会金额
     */
    private BigDecimal totalAmount;
    /**
     * 支付状态（0：待支付；1：已支付；2：支付失败）
     */
    private Integer payStatus;
    /**
     * 订单编号
     */
    private String orderNo;
    /**
     * 支付订单id
     */
    private Long payOrderId;
}